package ygg.encoding.swf.tag.codec
{
	import j.sus2maj7.encoding.*;
	
	import ygg.encoding.swf.tag.*;
	import ygg.encoding.swf.tag.object.*;
	
	public class RemoveObject2Codec extends TagCodec
	{
		public function RemoveObject2Codec()
		{
			super();
		}
		
		override public function decode(binary:IBinary, context:IContext=null):*
		{
			var retVal:RemoveObject2 = new RemoveObject2();
			var b:TagBinary = binary as TagBinary;
			b.position = 0;
			b.syncBits();
			
			
			return retVal;
		}
		
		override public function encode(o:*, context:IContext=null):IBinary
		{
			var b:TagBinary = new TagBinary();
			var obj:RemoveObject2 = o as RemoveObject2;
			
			
			
			return b;
		}
	}
}